package dto

import (
	"haiqiu-go-admin/entity"
)

type UserDto struct {
	entity.SysUser
	RoleIds     []int64 `json:"roleIds"`
	PositionIds []int64 `json:"positionIds"`
}

type UserQueryDto struct {
	PageDto
	Params UserParams `json:"params"`
}

type UserParams struct {
	Active    *bool   `json:"active"`
	BeginTime *string `json:"beginTime"`
	EndTime   *string `json:"endTime"`
	Phone     *string `json:"phone"`
	Username  *string `json:"username"`
	DeptId    *int64  `json:"deptId"`
}
